#encoding:utf8 

import logging , types

class baseEntity():
	def __init__(self):
		loggign.info("Entity-->>%s created!" % self.__name__)
	def addHook(self , hookname , hoodfunc , *arg , **kwads):
		if hoodfunc:
			if isinstance(hoodfunc, types.FunctionType):
				hoodfunc(*arg , **kwads)